package com.shungen.apicloud.service;

import javax.mail.MessagingException;

public interface EmailService {


    /**
     * 发送邮件
     * @param to 收件人邮箱
     * @param subject 主题
     * @param text 邮箱内容
     * @throws MessagingException
     */
    public void sendEmail(String to,String subject,String text) throws MessagingException;
}
